package com.ruoyi.student.api;

import com.ruoyi.student.api.factory.StudentFallback;
import cn.jlx.it.dto.Trackdto;
import com.ruoyi.common.core.web.domain.AjaxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "it-student",fallbackFactory = StudentFallback.class)
public interface StudentFeignClient {
    @PostMapping("/track")
    public AjaxResult add(@RequestBody Trackdto trackdto);

}
